From a398f5df6e1c7e727bc2259a1bf820b7594a51b3 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Tue, 10 Feb 2009 05:59:14 +0000 Subject: [PATCH] (vc-svn-after-dir-status): Use shy group for revision number as it isn't present for unregistered files. --- lisp/vc-svn.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el index e79ef9a0fa6..a2e455a8702 100644 --- a/lisp/vc-svn.el +++ b/lisp/vc-svn.el @@ -164,7 +164,7 @@ want to force an empty list of arguments, use t." (?? . unregistered) ;; This is what vc-svn-parse-status does. (?~ . edited))) - (re (if remote "^\\(.\\)..... \\([ *]\\) +[-0-9]+ +\\(.*\\)$" + (re (if remote "^\\(.\\)..... \\([ *]\\) +\\(?:[-0-9]+\\)? +\\(.*\\)$" ;; Subexp 2 is a dummy in this case, so the numbers match. "^\\(.\\)....\\(.\\) \\(.*\\)$")) result) -- 2.30.2